package com.bite.product.service;

import com.bite.product.mapper.ProductMapper;
import com.bite.product.model.ProductInfo;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @Author: Yun
 * @Date: 2025/5/31
 */
@Service
public class ProductService {
    @Resource
    private ProductMapper productMapper;

    public ProductInfo selectProductById(Integer id){
        return productMapper.selectProductById(id);
    }
}
